home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1998 January
/
Macworld (1998-01).dmg
/
Shareware World
/
Comms & Internet
/
HTML mode 2.0 etc.
/
READ ME TO INSTALL
< prev
Wrap
Text File
|
1997-09-22
|
5KB
|
128 lines
HTML mode 2.0
CSS mode 1.0 JavaScript mode 1.0.2
Frontier menu 2.0
September 1997
Written by Johan Linde, jl@theophys.kth.se
At the end of this file there is a hypertext link which starts the
installation. Please read this document before installing to avoid any
problems. There are also a few things which you have to do manually.
It is extra important to read what the installer does, if you have written
any code yourself for Alpha, to make sure you don't lose anything.
First of all: You need Alpha 6.51 or later to install this software.
What does the installer do?
• First a dialog window is opened. There you are asked which components
you want to install. The available components are
• HTML mode and CSS mode
For editing HTML and CSS (Cascading Style Sheets) documents.
• JavaScript mode
For editing JavaScript documents.
• Frontier menu
Functions for using Alpha as Frontier's external editor.
HTML mode and CSS mode must be installed together because they share code.
Therefore the old HTML mode is not compatible with CSS mode.
You are also asked if you want to make a backup of the currently installed
version. Choose to make a backup of if you have made any changes to the
code which you want to keep. If you don't make a backup the old files are
deleted.
Consider this backup function as an extra feature usually not included in
installers. My hope is that you will be happy with the new software.
• When you then click Install, Alpha first makes the backups you wanted.
They are put in folders like HTML mode 1.4.1 backup inside Alpha's
folder. See below how to do if you want to reinstall the old version.
• Alpha then installs the components you have selected.
If there are some files with the same names as the ones to install and
which don't belong to the old version these files are put in a folder
called Extra backup. This only happens if you have written any code
yourself and the files happen to have the same names. Not very likely, I
guess.
• Finally Alpha rebuilds the Tcl indices. This is used by Alpha to find in
which files the various functions are.
• After installation you have to restart Alpha to use the new HTML mode etc.
Custom HTML elements
If you have added any custom HTML elements to HTML mode, these are also
saved if you make a backup. The new version of HTML mode supports many new
HTML elements and it's therefore very likely that some ot your custom
elements are supported. If so, when you load the new HTML mode the first
time Alpha will ask you if you would let it clean up the file with custom
elements. You can safely do so. If you decide to go back to the previous
version, the old custom elements are restored.
Documentation
The documentation is downloaded separately. When you have downloaded it put
the folder, which is called HTML mode manual, inside Alpha's folder. (If you
have an old manual remove it first.) Putting the manual inside Alpha's
folder makes it possible to open it by selecting Help in the HTML menu.
Userland Frontier
To use Alpha as Frontier's external editor there are a few more things you
have to do. After installation select Frontier Help from the system help
menu for more information.
Menu icons
The file menu icons contains icons for the CSS menu and the Frontier
Scripts menu. Use ResEdit to copy the resources into Alpha. If you don't
know how to use ResEdit, don't try it. It's only two menu icons we're talking
about and everything will work without them. If you don't install the icons
the menus are simply called CSS and Scripts. If you copy the menu icons to
Alpha then open the global prefs file (use Config -> Global -> Edit Prefs)
and add the lines
set cssMenu •150
set frontierScriptMenu •144
(144 and 150 are the resource numbers of the icons.)
As an extra bonus there are also four other icons in the file menu
icons. They are the icons for Netscape Communicator, Internet Explorer,
Cyberdog and MacLynx. Use any of them as menu icons for the two HTML menus
(there are two menus now) if you like. To do this add lines like
set htmlMenu •num
set htmlUtilsMenu •num
to your global prefs file, where num should be replaced by the resource
number.
Reinstalling the old version from the backup folder
I you for one reason or another want to reinstall the old version, it can
be installed from the backup folder in the same way as you make this
installation. A copy of this file is put in the backup folder. Open it and
start the installation by clicking the hypertext link at the end of it,
just like your about to do now.
Ready to install?
If you have read the above information you are now ready to install.
Note that you have to restart Alpha after installation.
CLICK TO INSTALL